package com.seeyon.apps.exportExcelCtrl.manager;

import com.seeyon.ctp.common.exceptions.BusinessException;
import com.seeyon.ctp.util.FlipInfo;
import com.seeyon.ctp.util.annotation.AjaxAccess;

import java.io.File;
import java.io.IOException;
import java.util.Map;

/**
 * @Title ExportExcelCtrlManagerImpl
 * @description: 领导数据导出自定义按钮manager
 * @author wxt.daicheng
 * @date 2024/8/20
 * @version 1.0
 */
public interface ExportExcelCtrlManager {

    /**
     * @title getLeaderList
     * @description: 领导排序页数据
     * @author wxt.daicheng
     * @param fi:
     * @param params:
     * @date: 2024/8/20
     * @return: com.seeyon.ctp.util.FlipInfo
     */
    @AjaxAccess
    FlipInfo getLeaderList(FlipInfo fi, Map<String, Object> params) throws BusinessException;
    
    /**
     * @title exportExcel
     * @description: 导出的表格文件
     * @author wxt.daicheng
     * @param params:  
     * @date: 2024/8/20
     * @return: java.io.File
     */
    File exportExcel(Map<String, Object> params) throws BusinessException, IOException;
}
